package com.intellagric.mapper;

import com.intellagric.pojo.AgriecomNews;
import com.intellagric.pojo.AgriecomNewsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AgriecomNewsMapper {
    long countByExample(AgriecomNewsExample example);

    int deleteByExample(AgriecomNewsExample example);

    int deleteByPrimaryKey(String id);

    int insert(AgriecomNews record);

    int insertSelective(AgriecomNews record);

    List<AgriecomNews> selectByExampleWithBLOBs(AgriecomNewsExample example);

    List<AgriecomNews> selectByExample(AgriecomNewsExample example);

    AgriecomNews selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AgriecomNews record, @Param("example") AgriecomNewsExample example);

    int updateByExampleWithBLOBs(@Param("record") AgriecomNews record, @Param("example") AgriecomNewsExample example);

    int updateByExample(@Param("record") AgriecomNews record, @Param("example") AgriecomNewsExample example);

    int updateByPrimaryKeySelective(AgriecomNews record);

    int updateByPrimaryKeyWithBLOBs(AgriecomNews record);

    int updateByPrimaryKey(AgriecomNews record);
}